//logs.js
var util = require('../../utils/util.js')

Page({
  data: {
    Msg:[]
  },
  onLoad: function () {
    var that = this;
    wx.request({
      url: "https://xuzhenglucky.com.cn/getMsg",
      data: {},
      header: {
        "Content-Type": "application/json"
      },
      success: function (res) {
        //console.log(res);
        //that.Msg = res.data;
        console.log(res.data);
        //var JSON_OBJ = JSON.parse(data);

        that.setData({
          'Msg': res.data  
        });


      },
      fail: function (err) {
        console.log(err)
      }

    })
  }
 
})